package com.aptech.bank.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable {

	// Fields

	private Integer id;
	private Job job;
	private Dept dept;
	private String loginName;
	private String password;
	private String username;
	private String status;
	private Set<Logs> logses = new HashSet<Logs>(0);
	private Set<EptRepair> eptRepairs = new HashSet<EptRepair>(0);

	// Constructors

	/** default constructor */
	public Users() {
	}

	/** full constructor */
	public Users(Job job, Dept dept, String loginName, String password,
			String username, String status, Set<Logs> logses, Set<EptRepair> eptRepairs) {
		this.job = job;
		this.dept = dept;
		this.loginName = loginName;
		this.password = password;
		this.username = username;
		this.status = status;
		this.logses = logses;
		this.eptRepairs = eptRepairs;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Job getJob() {
		return this.job;
	}

	public void setJob(Job job) {
		this.job = job;
	}

	public Dept getDept() {
		return this.dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public String getLoginName() {
		return this.loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Set<Logs> getLogses() {
		return this.logses;
	}

	public void setLogses(Set<Logs> logses) {
		this.logses = logses;
	}

	public Set<EptRepair> getEptRepairs() {
		return this.eptRepairs;
	}

	public void setEptRepairs(Set<EptRepair> eptRepairs) {
		this.eptRepairs = eptRepairs;
	}

}